package com.vmj.classfile.entity.constantinfo;

import com.vmj.classfile.ClassReader;
import com.vmj.classfile.entity.AbstractConstantInfo;

/**
 * Created by yangshoujun on 2017/9/2 下午9:15.
 */
public class ConstantMethodHandleInfo extends AbstractConstantInfo {

    int referenceKind;
    int referenceIndex;

    public ConstantMethodHandleInfo(ClassReader reader) {
        super(reader);
    }

    public void parse() {
        referenceKind = getReader().readOneByte();
        referenceIndex = getReader().readTwoByte();
    }
}
